/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.ppm.gtm.base;

import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author User
 */
public class SimpleStrategies implements Strategies {

    private List<ImmutableStrategy> strategies = new LinkedList<>();

    @Override
    public int getNumberOfStrategies() {
        return strategies.size();
    }

    @Override
    public Iterator<ImmutableStrategy> iterator() {
        return strategies.iterator();
    }

    public void addStrategy(ImmutableStrategy strategy) {
        strategies.add(strategy);
    }
}
